package com.yunji.base.dao;

import com.yunji.base.bo.StaffSiteRemoveBO;
import com.yunji.base.domain.StaffSiteDO;
import com.yunji.base.dto.StaffSiteQueryDTO;
import com.yunji.common.base.IBaseDao;

import java.util.List;


/**
 * @author : peter-zhu
 * @date : 2024/12/12 19:52
 * @description : TODO
 **/
public interface IStaffSiteDao extends IBaseDao<StaffSiteDO> {
    List<StaffSiteDO> listByStaffId(Long staffId);

    List<StaffSiteDO> listBySiteId(Long siteId);

    List<StaffSiteDO> listByQuery(StaffSiteQueryDTO bo);

    boolean removeByBo(StaffSiteRemoveBO bo);

    List<StaffSiteDO> listBySiteIds(List<Long> siteIds);

    boolean removeByStaffIds(List<Long> staffIds);
}
